﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyMES.Domain.W.Liststructure
{
    /// <summary>
    /// 生产退料
    /// </summary>
    public class Productionreturn
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int PId { get; set; }

        /// <summary>
        /// 退料单编号
        /// </summary>
        public string ReturnNumber { get; set; }

        /// <summary>
        /// 退料单名称
        /// </summary>
        public string ReturnName { get; set; }

        /// <summary>
        /// 退料类型
        /// </summary>
        public int Returntype { get; set; }

        /// <summary>
        /// 生产工单
        /// </summary>
        public string Productionwork {  get; set; }

        /// <summary>
        /// 工作站
        /// </summary>
        public string Workstation { get; set; }

        /// <summary>
        /// 退料日期
        /// </summary>
        public DateTime ReturnTime { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>
        public int DocumentStatus { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 删除标志
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
